<!DOCTYPE html>
<html>

<head>
  <title>Navigator & Screen & Location</title>
</head>

<body>
  <script type="text/javascript">
    document.write("<br/>navigator.appCodeName = " + navigator.appCodeName);
    document.write("<br/>navigator.appName = " + navigator.appName);
    document.write("<br/>navigator.appVersion = " + navigator.appVersion);
    document.write("<br/>navigator.cookieEnabled = " + navigator.cookieEnabled);
    document.write("<br/>navigator.language = " + navigator.language);
    document.write("<br/>navigator.userAgent = " + navigator.userAgent);
    document.write("<br/>navigator.platform = " + navigator.platform);
    document.write("<br/>navigator.onLine = " + navigator.onLine);  
    
    document.write("<hr/>screen width = " + screen.width);
    document.write("<br/>screen height = " + screen.height);
    document.write("<br/>screen available width = " + screen.availWidth);
    document.write("<br/>screen available height = " + screen.availHeight);
    document.write("<br/>screen color Depth = " + screen.colorDepth);
    document.write("<br/>screen pixel Depth = " + screen.pixelDepth);  

    document.write("<hr/>full url path: " + location.href);  
    document.write("<br/>URL Path: <br>" + location.protocol);   
    document.write("<br/>URL hostname with port: " + location.host);    
    document.write("<br/>url hostname: " + location.hostname);  
    document.write("<br/>port: " + location.port);  
    document.write("<br/>url pathname: " + location.pathname);   
    document.write("<br/>full url search: " + location.search);  
    document.write("<br/>full url identifier: " + location.hash);  
  </script>

</body>

</html>